package com.wjyf.reducing_bento.mapper;

import com.wjyf.reducing_bento.model.entity.InviteRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wjyf.reducing_bento.model.vo.InviteRecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 26439
* @description 针对表【tb_invite_record(邀请记录表)】的数据库操作Mapper
* @createDate 2023-04-29 19:14:29
* @Entity com.wjyf.reducing_bento.model.entity.InviteRecord
*/
@Mapper
public interface InviteRecordMapper extends BaseMapper<InviteRecord> {

    List<InviteRecordVo> selectPageToInviteRecordVoList(@Param("current") Long current, @Param("pageSize") Long pageSize, @Param("flag") Integer flag, @Param("uId") Long uId);

    Long selectPageToInviteRecordVoListCount(@Param("flag") Integer flag, @Param("uId") Long uId);
}




